package com.tongzhou.tongzhou.quot.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.tongzhou.quot.model.PaperType;
import com.tongzhou.tongzhou.quot.model.SearchPaperTypeCondition;

public interface IPaperTypeDAO {
	public List<PaperType> listPaperType(SearchPaperTypeCondition condition) throws DBException;
	public int addPaperType(PaperType paperType) throws DBException;
	public void deletePaperType(int id) throws DBException;
	public PaperType getPaperTypeById(int id) throws DBException;
	public void updatePaperType(PaperType paperType) throws DBException;
	public List<PaperType> getPaperTypeList() throws DBException;
}
